home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 21 / q21.d81 / t.docs 2 < prev    next >
Text File  |  2022-08-28  |  22KB  |  389 lines

  1.  
  2.  
  3. * * * SCRATCH FILES * * *
  4.  
  5. This utility lets you select several files to delete which are then
  6. scratched all in one go.  The scratch utility will work with all disk drives
  7. that can be hooked up to the 128, including RAMDOS.
  8.  
  9. Press the HELP key to view your options for cursor movement and file
  10. selection.
  11.  
  12. Select the files you want to scratch.  To start scratching, press F1.  As an
  13. extra safeguard, you will be asked to confirm your action.  If you haven't
  14. selected any files, the message "No valid files" will appear, and the
  15. scratch utility is aborted.
  16.  
  17.  
  18. * * * UNSCRATCH FILES * * *
  19.  
  20. This is a utility to bring back files which have previously been deleted.
  21. When a file is deleted, it is not really removed from the disk.  The DOS
  22. (Disk Operating System) makes two changes which render the file as deleted:
  23. One, the file type flag is erased (set to 0), making the file unrecognizable
  24. to the DOS.  Two, the space which the file used on the disk is made
  25. available to use as storage for other files.  You should therefore restore
  26. scratched files before saving something new on the disk.  It will work only
  27. with 1541, 1571, 1581 and compatible disk drives.
  28.  
  29. SPECIAL NOTE to GEOS users:  You can unscratch GEOS files using this
  30. utility.  However, you MUST validate the disk from the GEOS desktop before
  31. further saving anything to the disk.  Furthermore, as an ounce of prevention
  32. if you suspect that the disk has been written to since the files were
  33. deleted, copy all the non-deleted files to another disk BEFORE attempting to
  34. restore lost GEOS files.
  35.  
  36. You will be asked to insert the target disk, the disk with the files you
  37. want to unscratch.  The directory is then read into the computer's memory.
  38. If there are no deleted file entry in the disk's directory, the message "No
  39. valid files" appears, and the unscratch utility is aborted.
  40.  
  41. Press the HELP key to view your options for cursor movement and file
  42. selection.
  43.  
  44. All files are initially marked as '*DEL'.  To restore a file you must select
  45. a file type.  Your choices are listed at the top of the screen.  It is
  46. important that you select the right file type, as using the wrong file type
  47. will in most cases prohibit the correct function and use of the file.  To
  48. undo the selection of a file, press D to make it a deleted file.
  49.  
  50. Some files may be marked as "Blocked".  A blocked file is a file which is
  51. marked in the directory as deleted, but the block where the first part of
  52. the file is supposed to be is marked as used in the BAM.  This would mean
  53. that the block is now occupied by another file.  A blocked file is thereby
  54. unrecoverable since there is no way of knowing where the rest of the file
  55. might be on the disk.  A file might be unrightfully "blocked" due to an
  56. error in the BAM.  If you experience that, the unscratch utility identifies
  57. that the file is blocked although you think it should be recoverable,
  58. validate the disk and attempt unscratching the file again.
  59.  
  60. PLEASE NOTE:  A file name might appear more than once in the directory.  You
  61. see two or more identical names, and you don't know which is the right one.
  62. A deleted file may also have the same name as a valid file.  The solution:
  63. Restore all.  Then rename the first one, the RENAME command will only affect
  64. the first file that match the command parameters.  Repeat if there are more
  65. than two identical files.  Try using the newly restored files to see which
  66. one(s) you would like to keep.  Scratch the other ones and, IMPORTANT!,
  67. validate the disk to make sure the BAM is OK.
  68.  
  69. Since the disk space previously occupied by scratched files is left free for
  70. other files to overwrite, unscratching does imply some potential problems.
  71. To be absolutely sure that a file can be restored, it must be unscratched
  72. before something new is written to the disk.  All might not be lost however,
  73. even if the disk has been written to.  Each subsequent write to the disk
  74. reduces the odds that previously scratched files can be restored.  If
  75. subsequent writes have occurred, or if you're in doubt, please read the
  76. following:
  77.  
  78. 1) A scratched file might be partly overwritten.  When you don't find the
  79. file contents you expect, the file is garbage, partly garbage, partly
  80. missing or has parts that repeat, you are probably dealing with a partly
  81. overwritten file.  If a new file saved to the disk happens to claim even a
  82. single block of the scratched file, that block and the rest of the deleted
  83. file is lost.  This is why:  The two first bytes of each block in the file
  84. always point to the next block in the file (unless it's the last block).
  85. Now, if one block is overwritten, the pointers for the next block will
  86. obviously point towards the rest of the new file.  At some point therefore,
  87. the two files will appear to have been spliced into one.  The solution:  If
  88. you want to try to recover as much as possible of the file in question, copy
  89. it.  Either to another disk or by using the COPY command to make a copy
  90. under a new name.  Scratch the original file and, IMPORTANT!, validate the
  91. disk to make sure the BAM is OK.
  92.  
  93. 2) A file might be "looping".  This is a phenomenon which is very rare, and
  94. equally difficult to recover from.  It is related to the "partly overwritten
  95. file" problem.  What happens is that, during the course of events, the
  96. pointers in one of the blocks are now, due to overwriting, pointing back to
  97. an earlier block in the same "file".  The "file" will then repeat itself
  98. into infinity.  We can't really call it a file, it's just a complete jumble.
  99. The unscratch utility will never be able to finish because it will never
  100. stop validating the file.  The same goes for scratching, loading, reading or
  101. any other operation on the file; it just repeats forever!  The Solution:
  102. Reset your system.  The best solution is to clear the file's identifier in
  103. the directory using a sector editor, then validate the disk.  If you don't
  104. have the means or knowledge to do that, copy all the other files to another
  105. disk using a FILE COPIER.
  106.  
  107. 3) The directory entry of the original file might have been overwritten.
  108. The place in the directory used by the scratched file has later been used by
  109. another file.  Unless you know how to use a sector editor and are prepared
  110. to spend some time, the file is unrecoverable.
  111.  
  112. You may restore as many files as you wish.  To start restoring the files,
  113. press F1.  Please note that unscratching may be a lengthy process as the
  114. disk has to be validated, reclaiming the space for the restored files.  If
  115. you haven't selected any files, the message "No valid files" will appear,
  116. and the unscratch utility is aborted.
  117.  
  118. IMPORTANT NOTE:  If a disk error message appears at this point, one of the
  119. restored files is probably malfunctioning.  In any case, the disk hasn't
  120. been properly validated, and you should go about with great caution.  Using
  121. the file copier, copy as many files as possible to another disk.
  122. DISKSERVANT's file copier will identify the troublesome files.  Then, you
  123. might want to try recovering those files.  You need to read as much as you
  124. can from the original file and save it in a new file.  Then, scratch the
  125. troublesome files and, IMPORTANT, validate the disk.
  126.  
  127.  
  128. * * * EDIT DIRECTORY * * *
  129.  
  130. The objective of this utility is to re-arrange and do various tricks with
  131. the directory.  You also have the option of changing the load address of
  132. program files.
  133.  
  134. You'll be prompted for a disk, and a directory will appear on the screen.
  135. This utility will display all files, even the deleted ones.  Press the HELP
  136. key to view your options for cursor movement and file selection.
  137.  
  138. PLEASE NOTE:  This is a powerful utility which might cause havoc if used
  139. without caution.  However, except for the load address change command, no
  140. changes will be permanent until you press F1 to rewrite the directory.  If
  141. you mess things up, press ESC to back out!  It is especially important to
  142. remember that many of the functions work simultaneously on all highlighted
  143. files.  Therefore, always make sure that you have only highlighted the files
  144. you want to change, and nothing else.  It's a good habit to press CLR after
  145. using a function to ensure that all files are deselected before proceeding.
  146.  
  147. Deposit files (SHIFT/RETURN):
  148. To move a files manua